Skip to content

Drop TravisCI testing in favor of GitHub Actions, test up to PHP 8.0 #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Dec 2, 2021

Conversation

mondrake
Copy link
Contributor

@mondrake mondrake commented Oct 2, 2021

TravisCI has become overly complicated to test on for OSS, most projects I follow shifted to GitHub Actions instead.

This PR removes TravisCI configuration, sets up GithHub actions for running on a weekly schedule for testing on all PHP versions from 5.4 to 8.0.

PHP 8.1 should be managed as a separate PR because it will require more changes (for example, #93).

Comment on lines +20 to +21
// Avoid throwing a risky test error.
$this->assertTrue(true);
Copy link
Contributor

@enumag enumag Oct 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use expectNotToPerformAssertions() instead.
Although... not sure if it exists in old PHPUnit versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure in PHPUnit 4? Tests need to run on PHP 5.4 too.

@mondrake mondrake mentioned this pull request Oct 2, 2021
@mondrake
Copy link
Contributor Author

mondrake commented Oct 2, 2021

ping @PhenX who seems the only person able to commit here

@bsweeney bsweeney added this to the 0.5.3 milestone Oct 3, 2021
@bsweeney
Copy link
Member

bsweeney commented Oct 3, 2021

not really necessary for the next milestone, but I assigned there to remind me to take a look

@bsweeney bsweeney merged commit ca5cf43 into dompdf:master Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants